<?php $model = new Model();
                                	$ans = $model->getvideo();
                                	foreach($ans as $row)
                                	{
                                 	?>
                                <div class="vaultthumb">
                                	<div class="thumbicon">
                                        <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
                                        <PARAM name="SRC" VALUE="view/vault/<?php echo $_SESSION['user_id']; ?>/video/<?php echo $row['album']; ?>/<?php echo $row['url']; ?>">
                                        <PARAM name="AUTOPLAY" VALUE="false">
                                        <PARAM name="CONTROLLER" VALUE="true">
                                        <EMBED SRC="view/vault/<?php echo $_SESSION['user_id']; ?>/video/<?php echo $row['album']; ?>/<?php echo $row['url']; ?>" WIDTH="160" HEIGHT="144" AUTOPLAY="false" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
                                        </EMBED>
                                        </OBJECT>
                                	</div>
                                	
                                    <div class="details">
                                    	<p style="font-weight:bold;"><?php echo $row['url']; ?></p>
                                    
                                    <div class="views">
                                        <?php echo $row['url']; ?><br/>views 10,120,12
                                    </div>
                                
                                	</div>
                            </div>
                            
                                <?php
									}
									?>